<?php defined('APP_PATH') or exit('Access Denied');?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>分组列表</title>
<link rel="stylesheet" type="text/css" href="vonuo/static/css/vonuo.css">
<script type="text/javascript" src="vonuo/static/js/jquery.min.js"></script>
<script type="text/javascript" src="vonuo/static/js/tablecolor.js"></script>
</head>

<body>
<div class="gs_wraper gs_p_l0">
	<div class="tab_box">
		<table width="100%" style="margin-top:10px;" border="0" cellpadding="0" cellspacing="0"  class="common_table">
			<tr>
				<th width="70"><input type="checkbox" onclick="$('.all_check').attr('checked',$(this).attr('checked'))" class="all_check" /><label>编号</label></th>
				<th width="250">分组名称</th><th width="70">指定排序</th><th width="70">分组管理</th>
			</tr>
			<?php foreach($ucat as $row){?>
			<tr>
				<td><input name="id[]" type="checkbox" value="<?php echo $row['id'];?>" class="all_check" /><label><?php echo $row['id'];?></label></td>
				<td><?php echo $row['ucatname'];?></td><input type="hidden" name="idrow[]" value="<?php echo $row['id'];?>" />
				<td><input name="odnum[]" type="text" class="blue_input input_w_40" value="<?php echo $row['odnum'];?>"/></td>
				<td><a href="<?php echo spUrl('ucat','upd',array('id'=>$row['id']));?>">[编辑]</a><a href="<?php echo spUrl('ucat','del',array('id'=>$row['id']));?>" onclick="return confirm('确定删除？');">[删除]</a></td>
			</tr>
			<?php }?>
			<tr class="bottom">
				<td colspan="4" align="left" valign="middle"></td>
			</tr>
  		</table>
	</div>
</div>
</body>
</html>